﻿using rbac.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.Domain.Interface
{

    public interface IRoleRepository
    {
        IQueryable<Role> SerrchRoles(string roleName);
        IQueryable<Role> Roles();
        int Add(Role entity);
        int Update(Role entity);
        int Delete(params int[] idList);
    }
}
